home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Languages / RLaB 1.18c / manual / clear.tex < prev    next >
LaTeX Document  |  1994-05-01  |  1.5 KB  |  [TEXT/ttxt]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: LaTeX Document (document/latex).

You can browse this item here: clear.tex

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert LaTeX Document (document/latex) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file LaTeX document text default
99% file LaTeX document, ASCII text, with CR line terminators default
100% checkBytes Printable ASCII default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/281 LaTeX (Subdocument) default
100% detectItEasy Format: plain text[CR] default (weak)


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[ttxt]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 5c 73 65 63 74 69 6f 6e | 7b 63 6c 65 61 72 20 2d |\section|{clear -|
|00000010| 2d 2d 20 43 6c 65 61 72 | 20 76 61 72 69 61 62 6c |-- Clear| variabl|
|00000020| 65 20 6f 72 20 66 75 6e | 63 74 69 6f 6e 7d 0d 5c |e or fun|ction}.\|
|00000030| 6c 61 62 65 6c 7b 66 6e | 3a 63 6c 65 61 72 7d 0d |label{fn|:clear}.|
|00000040| 5c 69 6e 64 65 78 7b 63 | 6c 65 61 72 28 29 7d 0d |\index{c|lear()}.|
|00000050| 5c 69 6e 64 65 78 7b 63 | 6c 65 61 72 20 76 61 72 |\index{c|lear var|
|00000060| 69 61 62 6c 65 20 6f 72 | 20 66 75 6e 63 74 69 6f |iable or| functio|
|00000070| 6e 7d 0d 5c 69 6e 64 65 | 78 7b 76 61 72 69 61 62 |n}.\inde|x{variab|
|00000080| 6c 65 21 63 6c 65 61 72 | 69 6e 67 7d 0d 5c 69 6e |le!clear|ing}.\in|
|00000090| 64 65 78 7b 66 75 6e 63 | 74 69 6f 6e 21 63 6c 65 |dex{func|tion!cle|
|000000a0| 61 72 69 6e 67 7d 0d 5c | 62 65 67 69 6e 7b 72 61 |aring}.\|begin{ra|
|000000b0| 69 6c 7d 0d 43 6c 65 61 | 72 20 3a 20 27 63 6c 65 |il}.Clea|r : 'cle|
|000000c0| 61 72 27 20 27 28 27 20 | 28 28 20 53 63 61 6c 61 |ar' '(' |(( Scala|
|000000d0| 72 20 7c 20 4d 61 74 72 | 69 78 20 7c 20 4c 69 73 |r | Matr|ix | Lis|
|000000e0| 74 20 7c 20 53 74 72 69 | 6e 67 20 7c 20 46 75 6e |t | Stri|ng | Fun|
|000000f0| 63 74 69 6f 6e 20 29 20 | 2b 0d 27 2c 27 20 29 20 |ction ) |+.',' ) |
|00000100| 27 29 27 20 3b 0d 5c 65 | 6e 64 7b 72 61 69 6c 7d |')' ;.\e|nd{rail}|
|00000110| 0d 0d 5c 76 65 72 62 2b | 63 6c 65 61 72 2b 20 69 |..\verb+|clear+ i|
|00000120| 73 20 61 20 66 75 6e 63 | 74 69 6f 6e 20 74 68 61 |s a func|tion tha|
|00000130| 74 20 61 6c 6c 6f 77 73 | 20 79 6f 75 20 74 6f 20 |t allows| you to |
|00000140| 63 6c 65 61 6e 20 75 70 | 20 74 68 65 20 73 79 6d |clean up| the sym|
|00000150| 62 6f 6c 20 74 61 62 6c | 65 2e 0d 49 74 20 64 65 |bol tabl|e..It de|
|00000160| 6c 65 74 65 73 20 74 68 | 65 20 76 61 72 69 61 62 |letes th|e variab|
|00000170| 6c 65 73 20 61 6e 64 20 | 66 75 6e 63 74 69 6f 6e |les and |function|
|00000180| 73 20 74 68 61 74 20 79 | 6f 75 20 73 70 65 63 69 |s that y|ou speci|
|00000190| 66 79 20 69 6e 20 74 68 | 65 20 61 72 67 75 6d 65 |fy in th|e argume|
|000001a0| 6e 74 20 0d 6c 69 73 74 | 2e 20 5c 76 65 72 62 2b |nt .list|. \verb+|
|000001b0| 63 6c 65 61 72 2b 20 61 | 63 63 65 70 74 73 20 75 |clear+ a|ccepts u|
|000001c0| 70 20 74 6f 20 33 32 20 | 61 72 67 75 6d 65 6e 74 |p to 32 |argument|
|000001d0| 73 2c 20 61 6e 64 20 72 | 65 74 75 72 6e 73 20 74 |s, and r|eturns t|
|000001e0| 68 65 0d 6e 75 6d 62 65 | 72 20 6f 66 20 6f 62 6a |he.numbe|r of obj|
|000001f0| 65 63 74 73 20 74 68 61 | 74 20 68 61 76 65 20 62 |ects tha|t have b|
|00000200| 65 65 6e 20 73 75 63 63 | 65 73 73 66 75 6c 6c 79 |een succ|essfully|
|00000210| 20 63 6c 65 61 72 65 64 | 2e 20 59 6f 75 20 63 61 | cleared|. You ca|
|00000220| 6e 20 6e 6f 74 0d 5c 76 | 65 72 62 2b 63 6c 65 61 |n not.\v|erb+clea|
|00000230| 72 2b 20 61 20 62 75 69 | 6c 74 2d 69 6e 20 66 75 |r+ a bui|lt-in fu|
|00000240| 6e 63 74 69 6f 6e 2e 20 | 20 59 6f 75 20 73 68 6f |nction. | You sho|
|00000250| 75 6c 64 20 62 65 77 61 | 72 65 20 6f 66 20 63 6c |uld bewa|re of cl|
|00000260| 65 61 72 69 6e 67 20 74 | 68 65 0d 76 61 6c 75 65 |earing t|he.value|
|00000270| 73 20 6f 66 20 5c 76 65 | 72 62 2b 70 69 2b 20 61 |s of \ve|rb+pi+ a|
|00000280| 6e 64 20 5c 76 65 72 62 | 2b 65 70 73 2b 2c 20 61 |nd \verb|+eps+, a|
|00000290| 73 20 6d 61 6e 79 20 52 | 2d 66 69 6c 65 73 20 6d |s many R|-files m|
|000002a0| 61 6b 65 20 69 6d 70 6c | 69 63 69 74 20 75 73 65 |ake impl|icit use|
|000002b0| 0d 6f 66 20 74 68 65 73 | 65 2e 0d 0d 49 66 20 79 |.of thes|e...If y|
|000002c0| 6f 75 20 77 69 73 68 20 | 74 6f 20 63 6c 65 61 72 |ou wish |to clear|
|000002d0| 20 74 68 65 20 77 68 6f | 6c 65 20 73 79 6d 62 6f | the who|le symbo|
|000002e0| 6c 20 74 61 62 6c 65 2c | 20 75 73 65 20 74 68 65 |l table,| use the|
|000002f0| 20 5c 76 65 72 62 2b 63 | 6c 65 61 72 61 6c 6c 2b | \verb+c|learall+|
|00000300| 0d 66 75 6e 63 74 69 6f | 6e 2e 0d 0d 0d 5c 70 61 |.functio|n....\pa|
|00000310| 72 61 67 72 61 70 68 7b | 45 78 61 6d 70 6c 65 7d |ragraph{|Example}|
|00000320| 0d 5c 69 6e 64 65 78 7b | 65 78 61 6d 70 6c 65 20 |.\index{|example |
|00000330| 6f 66 20 63 6c 65 61 72 | 28 29 7d 0d 5c 69 6e 64 |of clear|()}.\ind|
|00000340| 65 78 7b 63 6c 65 61 72 | 28 29 21 65 78 61 6d 70 |ex{clear|()!examp|
|00000350| 6c 65 7d 0d 5c 62 65 67 | 69 6e 7b 76 65 72 62 61 |le}.\beg|in{verba|
|00000360| 74 69 6d 7d 0d 3e 20 61 | 20 3d 20 30 2e 36 34 37 |tim}.> a| = 0.647|
|00000370| 0d 20 61 20 3d 0d 20 20 | 20 20 30 2e 36 34 37 0d |. a =. | 0.647.|
|00000380| 3e 20 62 20 3d 20 72 61 | 6e 64 28 32 2c 32 29 0d |> b = ra|nd(2,2).|
|00000390| 20 62 20 3d 0d 20 20 20 | 30 2e 30 38 34 37 20 20 | b =. |0.0847 |
|000003a0| 20 20 20 20 30 2e 31 36 | 37 20 20 0d 20 20 20 20 | 0.16|7 . |
|000003b0| 30 2e 32 30 34 20 20 20 | 20 20 20 30 2e 36 35 35 |0.204 | 0.655|
|000003c0| 20 20 0d 3e 20 73 74 72 | 69 6e 67 33 20 3d 20 22 | .> str|ing3 = "|
|000003d0| 4a 75 73 27 20 61 6e 6f | 74 68 65 72 20 73 74 72 |Jus' ano|ther str|
|000003e0| 69 6e 67 22 0d 4a 75 73 | 27 20 61 6e 6f 74 68 65 |ing".Jus|' anothe|
|000003f0| 72 20 73 74 72 69 6e 67 | 0d 3e 20 46 20 3d 20 3c |r string|.> F = <|
|00000400| 3c 20 61 3b 62 3e 3e 0d | 20 20 20 31 20 20 20 20 |< a;b>>.| 1 |
|00000410| 20 20 20 20 20 20 20 20 | 32 20 20 20 20 20 20 20 | |2 |
|00000420| 20 20 20 20 20 0d 3e 20 | 77 68 6f 28 29 0d 46 20 | .> |who().F |
|00000430| 20 20 20 20 20 20 20 62 | 20 20 20 20 20 20 20 20 | b| |
|00000440| 70 69 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |pi | |
|00000450| 20 20 20 20 20 20 20 20 | 20 20 20 0d 61 20 20 20 | | .a |
|00000460| 20 20 20 20 20 65 70 73 | 20 20 20 20 20 20 73 74 | eps| st|
|00000470| 72 69 6e 67 33 20 20 20 | 20 20 20 20 20 20 20 20 |ring3 | |
|00000480| 20 20 20 20 20 20 20 20 | 20 0d 3e 20 63 6c 65 61 | | .> clea|
|00000490| 72 28 46 2c 20 70 69 29 | 0d 20 20 20 20 20 20 20 |r(F, pi)|. |
|000004a0| 20 32 0d 3e 20 77 68 6f | 28 29 0d 61 20 20 20 20 | 2.> who|().a |
|000004b0| 20 20 20 20 62 20 20 20 | 20 20 20 20 20 65 70 73 | b | eps|
|000004c0| 20 20 20 20 20 20 73 74 | 72 69 6e 67 33 20 20 20 | st|ring3 |
|000004d0| 20 20 20 20 20 20 20 20 | 0d 3e 20 63 6c 65 61 72 | |.> clear|
|000004e0| 28 61 2c 62 2c 73 74 72 | 69 6e 67 33 29 0d 20 20 |(a,b,str|ing3). |
|000004f0| 20 20 20 20 20 20 33 0d | 3e 20 77 68 6f 28 29 0d | 3.|> who().|
|00000500| 65 70 73 0d 3e 20 61 20 | 3d 20 63 75 6d 73 75 6d |eps.> a |= cumsum|
|00000510| 28 5b 31 2c 32 2c 33 2c | 34 2c 35 5d 29 0d 20 61 |([1,2,3,|4,5]). a|
|00000520| 20 3d 0d 20 20 20 20 20 | 20 20 20 31 20 20 20 20 | =. | 1 |
|00000530| 20 20 20 20 20 20 33 20 | 20 20 20 20 20 20 20 20 | 3 | |
|00000540| 20 36 20 20 20 20 20 20 | 20 20 20 31 30 20 20 20 | 6 | 10 |
|00000550| 20 20 20 20 20 20 31 35 | 20 20 0d 3e 20 63 6c 65 | 15| .> cle|
|00000560| 61 72 28 63 75 6d 73 75 | 6d 29 3b 0d 3e 20 62 20 |ar(cumsu|m);.> b |
|00000570| 3d 20 63 75 6d 73 75 6d | 28 5b 31 2c 32 2c 33 2c |= cumsum|([1,2,3,|
|00000580| 34 2c 35 5d 29 0d 72 6c | 61 62 3a 20 63 75 6d 73 |4,5]).rl|ab: cums|
|00000590| 75 6d 2c 20 55 4e 44 45 | 46 49 4e 45 44 0d 5c 65 |um, UNDE|FINED.\e|
|000005a0| 6e 64 7b 76 65 72 62 61 | 74 69 6d 7d 0d 0d 53 65 |nd{verba|tim}..Se|
|000005b0| 65 20 61 6c 73 6f 3a 20 | 50 61 67 65 7e 5c 70 61 |e also: |Page~\pa|
|000005c0| 67 65 72 65 66 7b 66 6e | 3a 63 6c 65 61 72 61 6c |geref{fn|:clearal|
|000005d0| 6c 7d 20 5c 76 65 72 62 | 2b 63 6c 65 61 72 61 6c |l} \verb|+clearal|
|000005e0| 6c 28 29 2b 2c 0d 50 61 | 67 65 7e 5c 70 61 67 65 |l()+,.Pa|ge~\page|
|000005f0| 72 65 66 7b 66 6e 3a 77 | 68 6f 7d 20 5c 76 65 72 |ref{fn:w|ho} \ver|
|00000600| 62 2b 77 68 6f 28 29 2b | 2e 0d 0d 5c 6e 65 77 70 |b+who()+|...\newp|
|00000610| 61 67 65 0d 0d 0d 0d 0d | |age.....| |
+--------+-------------------------+-------------------------+--------+--------+